package edu.je.column.repo;

import edu.je.column.model.NewsModel;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

/**
 * @author MengXin
 * @description:
 * @program: je-gateway
 * @date 2021/4/21 21:18
 * @mail mx@radish.cloud
 */
@Repository
public interface NewsRepo extends JpaRepository<NewsModel,Long> {
    Page<NewsModel> findAll(Pageable pageable);
}
